diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-hull/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-hull/page.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-hull/page.tsx b/app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-hull/page.tsx index 97e53567..2ca48091 100644 --- a/app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-hull/page.tsx +++ b/app/[lng]/evcp/(evcp)/(sales)/budgetary-tech-sales-hull/page.tsx @@ -7,14 +7,18 @@ import { RFQListTable } from "@/lib/techsales-rfq/table/rfq-table" import { type SearchParams } from "@/types/table" import * as React from "react" import { InformationButton } from "@/components/information/information-button" +import { useTranslation } from "@/i18n" interface HullRfqPageProps { + params: Promise<{lng: string}> searchParams: Promise<SearchParams> } export default async function HullRfqPage(props: HullRfqPageProps) { // searchParams를 await하여 resolve const searchParams = await props.searchParams - + const {lng} = await props.params + const {t} = await useTranslation(lng, 'menu') + // 해양 HULL용 파라미터 파싱 const search = searchParamsHullCache.parse(searchParams); const validFilters = getValidFilters(search.filters); @@ -35,7 +39,7 @@ export default async function HullRfqPage(props: HullRfqPageProps) { <div> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - 기술영업-해양 Hull Budgetary RFQ + {t('menu.tech_sales.budgetary_hull')} </h2> <InformationButton pagePath="evcp/budgetary-tech-sales-hull" /> </div> |
